<?php
$caption = 'Admin Login';
$this->pageTitle = $caption;
$this->breadcrumbs=array(
	$caption,
);
?>
<div class="row-fluid">
	<div class="span8 offset2">
		<h3 class="header blue lighter bigger">
			<i class="icon-coffee green"></i> <span class="green"><?php echo $caption; ?></span>
		</h3>
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
<fieldset>
	<div class="form-group">
		<?php echo $form->labelEx($model,'email'); ?>
		<div class="clearfix"></div>
		<span class="input-icon input-icon-right row-fluid">
			<?php echo $form->textField($model,'email', array('class'=>'span12')); ?>
			<i class="icon-envelope"></i>
		</span>
		<div class="clearfix"></div>
		<span class="help-block"><?php echo $form->error($model,'email'); ?></span>
	</div>
	<div class="form-group">
		<?php echo $form->labelEx($model,'password'); ?>
		<div class="clearfix"></div>
		<span class="input-icon input-icon-right row-fluid">
			<?php echo $form->passwordField($model,'password', array('class'=>'span12')); ?>
			<i class="icon-lock"></i>
		</span>
		<div class="clearfix"></div>
		<span class="help-block"><?php echo $form->error($model,'password'); ?></span>
	</div>
</fieldset>
<div class="form-actions center">
	<?php echo CHtml::submitButton($caption, array('class' => 'btn btn-info btn-huge')); ?>
</div>
<?php $this->endWidget(); ?>
		</div><!-- end of <div class="biz-form"> -->
	</div>
</div>